package LIST;

import java.util.*;

public class LisT {
    public static void main(String[] args) {
        ArrayList<Map<String, Object>>  list= new ArrayList<>();
        Map<String,Object> map = new HashMap<>();
       map.put("name", "王五");
       map.put("id", 18212);
       map.put("age",18);
       list.add(map);
       Map<String , Object>map1 = new HashMap<>();
       map1.put("name", "李四");
       map1.put("id", 18213);
        map1.put("age",19);
        list.add(map1);
        for (Map<String,Object> map2 : list){
            System.out.println(map2);
        }

    }
}
